package com.project.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;

/**
 * 专家会商--专家实体类
 */

@TableName("t_expert")
public class ExpertBean {
    @TableId(value = "pk_exId",type = IdType.AUTO)
    private int exId;
    /*** 专家名字 */
    @TableField("f_exName")
    private String exName;
    /*** 专家性别 */
    @TableField("f_exGender")
    private String exGender;
    /*** 专家生日 */
    @TableField("f_exTime")
    private LocalDate exTime = LocalDate.now();
    /*** 专家电话 */
    @TableField("f_exTel")
    private String exTel;
    /*** 专家地址 */
    @TableField("f_exAddress")
    private String exAddress;
    /*** 专家工作单位 */
    @TableField("f_exWork")
    private String exWork;
    /*** 专家职务 */
    @TableField("f_exDuty")
    private String exDuty;
    /*** 专家专长 */
    @TableField("f_exSpecialty")
    private String exSpecialty;
    /*** 专家邮箱 */
    @TableField("f_exEmail")
    private String exEmail;
    /*** 专家照片 */
    @TableField("f_exImg")
    private  String exImg;

    public ExpertBean() {
    }

    public ExpertBean(String exName, String exGender, LocalDate exTime, String exTel, String exAddress, String exWork, String exDuty, String exSpecialty, String exEmail, String exImg) {
        this.exName = exName;
        this.exGender = exGender;
        this.exTime = exTime;
        this.exTel = exTel;
        this.exAddress = exAddress;
        this.exWork = exWork;
        this.exDuty = exDuty;
        this.exSpecialty = exSpecialty;
        this.exEmail = exEmail;
        this.exImg = exImg;
    }

    public int getExId() {
        return exId;
    }

    public void setExId(int exId) {
        this.exId = exId;
    }

    public String getExName() {
        return exName;
    }

    public void setExName(String exName) {
        this.exName = exName;
    }

    public String getExGender() {
        return exGender;
    }

    public void setExGender(String exGender) {
        this.exGender = exGender;
    }

    public LocalDate getExTime() {
        return exTime;
    }

    public void setExTime(LocalDate exTime) {
        this.exTime = exTime;
    }

    public String getExTel() {
        return exTel;
    }

    public void setExTel(String exTel) {
        this.exTel = exTel;
    }

    public String getExAddress() {
        return exAddress;
    }

    public void setExAddress(String exAddress) {
        this.exAddress = exAddress;
    }

    public String getExWork() {
        return exWork;
    }

    public void setExWork(String exWork) {
        this.exWork = exWork;
    }

    public String getExDuty() {
        return exDuty;
    }

    public void setExDuty(String exDuty) {
        this.exDuty = exDuty;
    }

    public String getExSpecialty() {
        return exSpecialty;
    }

    public void setExSpecialty(String exSpecialty) {
        this.exSpecialty = exSpecialty;
    }

    public String getExEmail() {
        return exEmail;
    }

    public void setExEmail(String exEmail) {
        this.exEmail = exEmail;
    }

    public String getExImg() {
        return exImg;
    }

    public void setExImg(String exImg) {
        this.exImg = exImg;
    }

    @Override
    public String toString() {
        return "ExpertBean{" +
                "exId=" + exId +
                ", exName='" + exName + '\'' +
                ", exGender='" + exGender + '\'' +
                ", exTime=" + exTime +
                ", exTel='" + exTel + '\'' +
                ", exAddress='" + exAddress + '\'' +
                ", exWork='" + exWork + '\'' +
                ", exDuty='" + exDuty + '\'' +
                ", exSpecialty='" + exSpecialty + '\'' +
                ", exEmail='" + exEmail + '\'' +
                ", exImg='" + exImg + '\'' +
                '}';
    }
}
